RFC 6234
名称 :
US Secure Hash Algorithms (SHA and SHA-based HMAC and HKDF)
https://datatracker.ietf.org/doc/rfc6234/
The
United States of America
has adopted a suite of
Secure Hash Algorithm
s (
SHA
s), including four beyond
SHA-1
, as part of a
Federal Information Processing Standard
(
FIPS
), namely
SHA-224
,
SHA-256
,
SHA-384
, and
SHA-512
. This document makes open source code performing these
SHA hash function
s conveniently available to the Internet community. The sample code supports input strings of arbitrary bit length. Much of the text herein was adapted by the authors from
FIPS 180-2
.
This document replaces
RFC 4634
, fixing errata and adding code for an
HMAC-based extract-and-expand Key Derivation Function
,
HKDF
(
RFC 5869
). As with
RFC 4634
, code to perform SHA-based
Hashed Message Authentication Code
s (
HMAC
s) is also included.
#RFC